<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="author" content="李愧愧">
    <title></title>
    <style>

    </style>
</head>

<body>

    <script>
        var body = document.body;
        var table = document.createElement('table');
        body.appendChild(table);
        table.style.border = '1px solid black';
        table.style.borderCollapse='collapse';
        table.style.textAlign='center'
        for (var i = 1; i <= 6; i++) {
            var tr = document.createElement('tr');
            table.appendChild(tr);
            // tr.style.border = '1px solid black'
            for (var j = 1; j <= 8; j++) {
                var td = document.createElement('td')
                tr.appendChild(td);
                td.style.width = '100px'
                td.style.height = '58px'
                td.style.border = '1px solid black'
                td.innerHTML= '第'+i+'行'+j+'列';
            }
        }
        
    </script>
</body>

</html>